TOP:=$(call my-dir)

#APP_ABI := armeabi-v7a
APP_ABI := armeabi-v7a arm64-v8a
APP_STL := c++_static
APP_ALLOW_MISSING_DEPS=true


NDK_DEBUG := 1
NDK_LOG := 1
LOGCAT := 1
DEBUG := 1


COMPANY := xiaoqiang

ANDROID_VERSION     := 440
AUDIO_TRACK_IMPL 	:= 1

ifeq ($(strip $(COMPANY)),$(filter $(COMPANY),PX3_7 xiaoqiang))
prebuilt_stdcxx_PATH := $(NDK_ROOT)/sources/cxx-stl/llvm-libc++
LOCAL_C_INCLUDES := \
$(prebuilt_stdcxx_PATH)/include \
$(prebuilt_stdcxx_PATH)/libs/$(TARGET_CPU_ABI)/include/ 


#LOCAL_CPPFLAGS += -fexceptions -frtti
#LOCAL_LDFLAGS += -L$(prebuilt_stdcxx_PATH)/libs/$(TARGET_CPU_ABI)

#高版本默认 Clang
#NDK_TOOLCHAIN_VERSION=4.9
NDK_TOOLCHAIN_VERSION=clang
#RTTI是Runtime Type Identification的缩写，意思是运行时类型识别
APP_CPPFLAGS := -frtti -std=c++11
LOCAL_CPPFLAGS += -D__cplusplus=201103L
APP_PLATFORM := android-29
#APP_CPPFLAGS:= -std=c++0x -fexceptions -frtti #-fpermissive
endif



APP_CFLAGS += -Wl,--export-dynamic -fvisibility=default

ifeq ($(USE_NEON),1)
#	APP_CFLAGS += -DWEBRTC_ARCH_ARM_NEON
endif